﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace lcs.Web.Admin.monthsked
{
    public partial class Pic : System.Web.UI.Page
    {
        public string strid = "",type="";
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                if (Request.Params["id"] != null && Request.Params["id"].Trim() != "" && Request.Params["type"] != null && Request.Params["type"].Trim() != "")
                {
                    strid = Request.Params["id"];
                    type = Request.Params["type"];
                    int mid = (Convert.ToInt32(strid));
                    BLL.monthsked bll = new BLL.monthsked();
                    Response.Clear();
                    Response.BinaryWrite(bll.GetPic(mid, type));
                    
                }
            }

        }
    }
}